import turtle

turtle.title('是多边形哦~')

t = turtle.Turtle()
t.speed(0)
t.penup()
t.goto(-350,350)
t.pendown()

sides = 360 #正多边形的边数
for _ in range(sides):
    t.forward(1)
    t.right(360/sides) #因为是正六边形，所以旋转60度
turtle.done()